package ooday01;
//构造方法的演示
public class ConsDemo {
    public static void main(String[] args) {
        Student zs = new Student(); //调用无参构造方法
        Student ls = new Student("赵四",24);
        Student ww = new Student("老王",25,
                "JSD2302","N40001");
        Student ll = new Student("老六",66,"JSD2302"
                ,"40002");


        zs.sayHi();
        ls.sayHi();
        ww.sayHi();
        ll.study();
        ll.sayHi();
        ll.playWith("赵四");


    }
}
